<h2><span>&rtrif;</span> Mural de Mensagens </h2>

<a class="ctt-idx btn-pdf" href="<?php echo $this->urlbase.'/'.$this->modulo.'/contatoprf' ?>">Enviar Mensagem</a>

<?php if(count($this->mural) > 0){ ?>
<ul class="lista-mural-recados">
    <?php foreach($this->mural as $mural){ 
        $style = $mural['MRC_STA'] == 1 ? 'opt':'';
    ?>
    <li itemid="<?php echo $mural['MRC_ID']?>">
        <div class="col-data dt_<?php echo $mural['MRC_ID']?>"> 
            <?php /*if($mural['MRC_STA'] == 1) { ?>
            <span class="n-lido">não lido</span>
            <?php } else if($mural['MRC_STA'] == 2) { ?>
            <span class="lido">lido</span>
            <?php } */ ?>
        </div>
        <div class="col-txt">
            <div class="data-nome">
                <?php echo substr($mural['MRC_DAT'],8,2).'/'.substr($mural['MRC_DAT'],5,2);?> às <?php echo substr($mural['MRC_HOR'],1,4);?>h | <?php echo $mural['USU_NOME']; ?>
                | <a href="javascript:void(0)" class="verbtn ver-msg <?php echo $style;?>" itemid="<?php echo $mural['MRC_ID']; ?>" >Mensagem</a>
            </div>
            <p><?php echo $mural['MRC_ASS'];?></p> 
            <p class="msg-txt"><?php echo $mural['MRC_TXT'];?></p> 
        </div>
    </li>
    <?php } ?> 
    <li>
        <?php echo $this->paginationControl($this->paginator, 'Sliding', 'pagination.phtml'); ?>
    </li>
</ul>
<?php } ?>

<link rel="stylesheet" href="<?php echo $this->urlbase.'/public/media/css/hint.min.css' ?>" />

<div class="sidebar">
    <div class="cnt-calendario">
        <span class="seta">&ltrif;</span>
        <div class="titulo">Meus Horários</div>
        <div class="mes"><?php echo ucfirst(Datetools::texto_Mes(date('m'))); ?></div>
        <div class="calendario">
            <?php echo Calendario::buscaCalendarioEad('','',$this->dia); ?> 
        </div>
    </div>
    <div class="lista-agenda">
        <ul>
        <?php foreach($this->horarios as $hor){ ?>
            <li><?php echo $hor; ?></li>
        <?php } ?>
        </ul>
    </div>
    
    <div class="cnt-box-list">
        <h2>Próximos Vestibulares &ltrif;</h2>
        <ul>
        <?php 
            foreach($this->ves as $c){   
                $count++;
                if( $c['DIA'] < 10) $c['DIA'] = "0".$c['DIA'];
        ?>
            <li><strong><?php echo $c['DIA'].'/'.$c['MES'];?></strong> | <?php echo $c['CAL_NOM'];?>.</li>
        <?php } ?>
        </ul>
    </div>
    
</div>


